package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.BankAccount;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;
import org.springframework.stereotype.Service;

@Service
public interface IBankAccountService extends IService<BankAccount> {
    /**
     * 新增或更新银行账户信息
     *
     * @param dto
     */
    void addOrUpdateBankAccount(BankAccountUpsertReqDTO dto);
    /**
     * 获取当前用户银行账号
     *
     * @return
     */
    BankAccount selectCurrentUserBankAccount();
}
